package com.nova.android.tvlauncher.ui.view.atv

import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.FrameLayout
import com.nova.android.tvlauncher.databinding.ViewSearchTopAtvBinding

class SearchTopAtvView @JvmOverloads constructor(
    context: Context,
    attrs: AttributeSet? = null,
    defStyleAttr: Int = 0
) : FrameLayout(context, attrs, defStyleAttr) {

    // 初始化视图
    private var binding: ViewSearchTopAtvBinding =
        ViewSearchTopAtvBinding.inflate(LayoutInflater.from(context), this, true)

    init {
        // 允许子视图超出边界，以支持缩放动画
        clipChildren = false
        clipToPadding = false
        setupListeners()
    }

    fun searchBinding() = binding


    private fun setupListeners() {


    }


}
